import { BasicColumn } from '/@/components/Table';
import { setCustomCell } from '/@/jv_package/utils/help/setCustomCell';

export const columns = (dataSource): BasicColumn[] => {
  return [
    {
      title: '物料编号',
      dataIndex: 'ItemId',
      customCell: setCustomCell(dataSource),
    },
    {
      title: '物料名称',
      dataIndex: 'ItemName',
      customCell: setCustomCell(dataSource),
    },
    {
      title: '描述',
      dataIndex: 'Description',
      customCell: setCustomCell(dataSource),
    },
  ];
};
